package com.ytclub.subject.application.convert;

import com.ytclub.subject.application.dto.SubjectAnswerDTO;
import com.ytclub.subject.domain.entity.SubjectAnswerBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 分类DTO的转换
 *
 * @author: HuangQi
 * @date: Created in 21:23 2023/12/14
 * @description: 分类DTO的转换
 */
@Mapper
public interface SubjectAnswerDTOConvert {
    SubjectAnswerDTOConvert INSTANCE = Mappers.getMapper(SubjectAnswerDTOConvert.class);

    SubjectAnswerBO convertDTOToAnswerBO(SubjectAnswerDTO subjectAnswerDTO);

    List<SubjectAnswerBO> convertListDTOToAnswerBO(List<SubjectAnswerDTO> subjectAnswerDTOList);


}
